bitkeeper revision 1.1159.152.1 (41880d06wl_WFOoG_mxUBjptw3ZC_g)
authorkaf24@freefall.cl.cam.ac.uk <kaf24@freefall.cl.cam.ac.uk>
Tue, 2 Nov 2004 22:41:10 +0000 (22:41 +0000)
committerkaf24@freefall.cl.cam.ac.uk <kaf24@freefall.cl.cam.ac.uk>
Tue, 2 Nov 2004 22:41:10 +0000 (22:41 +0000)
Fix xen-clone for the new semantics of 'make dist'.

tools/misc/xen-clone

index 63fccb841d23f1231db61f80a90f3497c30cff74..0ec95ee4647e94e9ebbaa175c25e9e47bcc06a3e 100755 (executable)
@@ -68,7 +68,16 @@ then
  export LINUX_SRC_PATH=${LINUX_DIR}
 
  cd ${DEST_BK_REP} 
- ln -sf ../install install
+
+ # Recent repositories install into 'dist/install' rather than 'install'.
+ if [ -f install.sh ]
+ then
+  mkdir -p dist
+  ln -sf ../../install dist/install
+ else
+  ln -sf ../install install
+ fi
+
  make -j4 world
  make -j4 linux24
  cd ../install/boot